﻿<app:SpottedPageBase
    x:Class="Spotted.Views.RegisterPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:app="clr-namespace:Spotted.Core"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:cal="http://www.caliburnproject.org" SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <Grid x:Name="LayoutRoot">
        <StackPanel Orientation="Vertical" Margin="10">
            <TextBlock Text="register"
                       Style="{StaticResource SpottedTitle}"
                       Margin="0,0,0,20" />

            <TextBlock Text="first name" Foreground="{StaticResource SpottedSecondaryColorBrush}"
                       FontSize="{StaticResource PhoneFontSizeNormal}" />
            <TextBox Name="FirstName" Style="{StaticResource SpottedTextBox}"
                     Margin="0,0,0,10" />

            <TextBlock Text="last name" Foreground="{StaticResource SpottedSecondaryColorBrush}"
                       FontSize="{StaticResource PhoneFontSizeNormal}" />
            <TextBox Name="LastName" Style="{StaticResource SpottedTextBox}"
                     Margin="0,0,0,10" />
            
            <TextBlock Text="email address" Foreground="{StaticResource SpottedSecondaryColorBrush}"
                       FontSize="{StaticResource PhoneFontSizeNormal}" />
            <TextBox Name="EmailAddress" Style="{StaticResource SpottedTextBox}"
                     Margin="0,0,0,10" />

            <TextBlock Text="password" Foreground="{StaticResource SpottedSecondaryColorBrush}"
                       FontSize="{StaticResource PhoneFontSizeNormal}" />
            <PasswordBox Name="Password" Style="{StaticResource SpottedPasswordBox}"
                     Margin="0,0,0,10" />

            <TextBlock Text="confirm" Foreground="{StaticResource SpottedSecondaryColorBrush}"
                       FontSize="{StaticResource PhoneFontSizeNormal}" />
            <PasswordBox Name="ConfirmPassword" Style="{StaticResource SpottedPasswordBox}"
                     Margin="0,0,0,10" />
            
        </StackPanel>
    </Grid>

    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <cal:AppBarButton IconUri="/Assets/Icons/appbar.save.png"
                              Text="save" Message="AddUser" />
            <cal:AppBarButton IconUri="/Assets/Icons/appbar.close.png"
                              Text="cancel" Message="GoBack" />
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</app:SpottedPageBase>
